package com.ibeetl.admin.core.dao;


import com.ibeetl.admin.core.entity.Test;
import com.ibeetl.admin.core.entity.Todo;
import com.ibeetl.admin.core.web.query.TestQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * Test Dao
 */
@SqlResource("cms.todo")
public interface TodoDao extends BaseMapper<Test> {
    public PageQuery<Test> queryByCondition(PageQuery query);
    public void batchDelTestByIds(List<Long> ids);

    List<Todo> queryTodoList(TestQuery query);

    List<Todo> queryCompanyTodoList(TestQuery query);

    List<Todo> queryCheckTodoList(TestQuery query);
}